﻿@model NK.Mvc3.Models.Sale

@foreach (var item in Model.SaleDetails) {
    <tr id="saledetail-@item.ID">
        <td>
            @Html.DisplayFor(modelItem => item.ProductInfo.BarCode)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ProductInfo.POSDescription)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Quantity)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CostSale)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TotalCost)
        </td>
        <td>
            <a href="#makeRowEditable" class="makeRowEditable">Edit</a> |
            <a href="#deleteRow" class="deleteRow">Delete</a>
        </td>
    </tr>
}
